<%@ page contentType="text/html;charset=GBK"%> 
<%@ page import="java.sql.*"%> 
<%
    /*
	Class.forName("oracle.jdbc.driver.OracleDriver").newInstance(); 
	String url="jdbc:oracle:thin:@10.2.248.223:3444:xfile";
	String user="as_sms";
	String password="eng_2007!";
	Connection conn= DriverManager.getConnection(url,user,password);  
	
	ResultSet rs = null;
	PreparedStatement ps4 = conn.prepareStatement("select account from yl_users");
    rs = ps4.executeQuery();
    
    while(rs.next())
    {
    	out.println(rs.getString("account"));
    }
	 
	 
	out.println("Welcome XXX!");
	conn.close();
	*/
	
	String addr = "";
	if ( request.getParameter("addr") != null )
	{
		addr = request.getParameter("addr");
		System.out.println("encode before.........:"+addr);
		addr = new String(addr.getBytes("ISO8859_1"));
		System.out.println("encode after.........:"+addr);
	}
	
%>
<html>
<head>
<title></title>
</head>
<body>
<form>
<input name="addr" type="text" value="">
<input type="submit" value="ok">
</form>


</body>
</html>
